<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>创建应用</title>
</head>
<body>
<form action="" method="post">

    应用名称：<input type="text" name="app-name"><br>
    应用描述：<input type="text" name="app-describe"><br>
    所属项目：
    <select name="project-name" id="">
        {% for i in project_list %}
        <option value="{{i.name}}">{{i.name}}</option>
        {% endfor %}
    </select><br>
    部署服务器：
    <select name="server-list" multiple>
        {% for i in server_list %}
        <option value="{{i.hostname}}">{{i.hostname}}</option>
        {% endfor %}
    </select><br>
    <button type="submit">创建</button>
    <button type="reset">清空</button>
    {{ msg }}
</form>
</body>
</html>